Woocommerce\Pagarme\Controller\Gateways\AbstractGateway S

Total Complexity 49
Dependencies 15
Dependents 5
Total lines 434
Lines of code 225
Logical lines of code 103
Comment lines 109
Methods 27
Properties 12

Methods 27

Method Rating Maintainability Complexity Lines of code
saveAdminOptionsInCoreConfig()
S
61 4 12
process_payment()
S
59 3 15
pagarme_email_payment_info()
S
65 4 9
__construct()
S
48 2 29
validateAlphanumericAndSpacesAndPunctuation()
S
62 3 12
thank_you_page()
S
59 2 16
isGatewayType()
S
68 3 7
validateRequired()
S
64 3 10
validateMinValue()
S
63 2 11
validateMaxLength()
S
63 2 11
beforeAddAdminOptions()
S
68 2 7
beforeUpdateAdminOptions()
S
68 2 7
append_gateway_form_fields()
S
72 2 6
getTitle()
S
71 2 6
field_enabled()
S
60 1 13
hasSubscriptionSupport()
S
82 1 3
gateway_form_fields()
S
82 1 3
append_form_fields()
S
82 1 3
field_title()
S
65 1 9
init_form_fields()
S
66 1 9
getPaymentMethodTitle()
S
77 1 3
checkout_transparent()
S
74 1 4
receipt_page()
S
81 1 3
payment_fields()
S
75 1 4
jsUrl()
S
79 1 3
payments_scripts()
S
70 1 6
addValidationError()
S
76 1 4